<?php echo $header; ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/shipping.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
    </div>
    <div class="content">
      <div id="tabs" class="htabs">
				<a href="#tab-general"><?php echo $tab_general; ?></a>
				<a href="#tab-domestic"><?php echo $tab_domestic; ?></a>
				<a href="#tab-international"><?php echo $tab_international; ?></a>
			</div>
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        <div id="tab-general">
					<table class="form">
						<tr>
							<td><span class="required">*</span> <?php echo $entry_api_key; ?></td>
							<td><input type="text" name="nzpost_api_key" size="50" maxlength="50" value="<?php echo $nzpost_api_key; ?>" />
								<?php if ($error_api_key) { ?>
								<span class="error"><?php echo $error_api_key; ?></span>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><span class="required">*</span> <?php echo $entry_source_postcode; ?></td>
							<td><input type="text" name="nzpost_source_postcode" size="4" maxlength="4" value="<?php echo $nzpost_source_postcode; ?>" />
								<?php if ($error_source_postcode) { ?>
								<span class="error"><?php echo $error_source_postcode; ?></span>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><span class="required">*</span> <?php echo $entry_length_class_id; ?></td>
							<td><select name="nzpost_length_class_id">
									<?php foreach ($length_classes as $length_class) { ?>
									<?php if ($length_class['unit'] == 'mm') { ?>
									<?php if ($length_class['length_class_id'] == $nzpost_length_class_id) { ?>
									<option value="<?php echo $length_class['length_class_id']; ?>" selected="selected"><?php echo $length_class['title']; ?></option>
									<?php } else { ?>
									<option value="<?php echo $length_class['length_class_id']; ?>"><?php echo $length_class['title']; ?></option>
									<?php } ?>
									<?php } ?>
									<?php } ?>
								</select>
								<?php if ($error_length_class_id) { ?>
								<span class="error"><?php echo $error_length_class_id; ?></span>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><span class="required">*</span> <?php echo $entry_weight_class_id; ?></td>
							<td><select name="nzpost_weight_class_id">
									<?php foreach ($weight_classes as $weight_class) { ?>
									<?php if ($weight_class['unit'] == 'kg') { ?>
									<?php if ($weight_class['weight_class_id'] == $nzpost_weight_class_id) { ?>
									<option value="<?php echo $weight_class['weight_class_id']; ?>" selected="selected"><?php echo $weight_class['title']; ?></option>
									<?php } else { ?>
									<option value="<?php echo $weight_class['weight_class_id']; ?>"><?php echo $weight_class['title']; ?></option>
									<?php } ?>
									<?php } ?>
									<?php } ?>
								</select>
								<?php if ($error_weight_class_id) { ?>
								<span class="error"><?php echo $error_weight_class_id; ?></span>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><span class="required">*</span> <?php echo $entry_currency_code; ?></td>
							<td><select name="nzpost_currency_code">
									<?php foreach ($currencies as $currency) { ?>
									<?php if ($currency['code'] == 'NZD') { ?>
									<?php if ($currency['code'] == $nzpost_currency_code) { ?>
									<option value="<?php echo $currency['code']; ?>" selected="selected"><?php echo $currency['code']; ?></option>
									<?php } else { ?>
									<option value="<?php echo $currency['code']; ?>"><?php echo $currency['code']; ?></option>
									<?php } ?>
									<?php } ?>
									<?php } ?>
								</select>
								<?php if ($error_currency_code) { ?>
								<span class="error"><?php echo $error_currency_code; ?></span>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_tax; ?></td>
							<td>
								<select name="nzpost_tax_class_id">
									<option value="0"><?php echo $text_none; ?></option>
									<?php foreach ($tax_classes as $tax_class) { ?>
									<?php if ($tax_class['tax_class_id'] == $nzpost_tax_class_id) { ?>
									<option value="<?php echo $tax_class['tax_class_id']; ?>" selected="selected"><?php echo $tax_class['title']; ?></option>
									<?php } else { ?>
									<option value="<?php echo $tax_class['tax_class_id']; ?>"><?php echo $tax_class['title']; ?></option>
									<?php } ?>
									<?php } ?>
								</select>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_gst_paid_on_intl_postage; ?></td>
							<td><?php if ($nzpost_gst_paid_on_intl_postage) { ?>
								<input type="radio" name="nzpost_gst_paid_on_intl_postage" value="1" checked="checked" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_gst_paid_on_intl_postage" value="0" />
								<?php echo $text_no; ?>
								<?php } else { ?>
								<input type="radio" name="nzpost_gst_paid_on_intl_postage" value="1" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_gst_paid_on_intl_postage" value="0" checked="checked" />
								<?php echo $text_no; ?>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_display_weight; ?></td>
							<td><?php if ($nzpost_display_weight) { ?>
								<input type="radio" name="nzpost_display_weight" value="1" checked="checked" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_display_weight" value="0" />
								<?php echo $text_no; ?>
								<?php } else { ?>
								<input type="radio" name="nzpost_display_weight" value="1" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_display_weight" value="0" checked="checked" />
								<?php echo $text_no; ?>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_apply_filters; ?></td>
							<td><?php if ($nzpost_apply_filters) { ?>
								<input type="radio" name="nzpost_apply_filters" value="1" checked="checked" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_apply_filters" value="0" />
								<?php echo $text_no; ?>
								<?php } else { ?>
								<input type="radio" name="nzpost_apply_filters" value="1" />
								<?php echo $text_yes; ?>
								<input type="radio" name="nzpost_apply_filters" value="0" checked="checked" />
								<?php echo $text_no; ?>
								<?php } ?>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_geo_zone; ?></td>
							<td>
								<select name="nzpost_geo_zone_id">
									<option value="0"><?php echo $text_all_zones; ?></option>
									<?php foreach ($geo_zones as $geo_zone) { ?>
									<?php if ($geo_zone['geo_zone_id'] == $nzpost_geo_zone_id) { ?>
									<option value="<?php echo $geo_zone['geo_zone_id']; ?>" selected="selected"><?php echo $geo_zone['name']; ?></option>
									<?php } else { ?>
									<option value="<?php echo $geo_zone['geo_zone_id']; ?>"><?php echo $geo_zone['name']; ?></option>
									<?php } ?>
									<?php } ?>
								</select>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_status; ?></td>
							<td>
								<select name="nzpost_status">
									<?php if ($nzpost_status) { ?>
									<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
									<option value="0"><?php echo $text_disabled; ?></option>
									<?php } else { ?>
									<option value="1"><?php echo $text_enabled; ?></option>
									<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
									<?php } ?>
								</select>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_sort_order; ?></td>
							<td><input type="text" name="nzpost_sort_order" value="<?php echo $nzpost_sort_order; ?>" size="1" /></td>
						</tr>
          </table>
        </div>
        <div id="tab-domestic">
					<div id="domestic" class="htabs">
						<a href="#domestic-across-town-urban"><?php echo $tab_across_town_urban; ?></a>
						<a href="#domestic-across-town-rural"><?php echo $tab_across_town_rural; ?></a>
						<a href="#domestic-within-island-urban"><?php echo $tab_within_island_urban; ?></a>
						<a href="#domestic-within-island-rural"><?php echo $tab_within_island_rural; ?></a>
						<a href="#domestic-inter-island-urban"><?php echo $tab_inter_island_urban; ?></a>
						<a href="#domestic-inter-island-rural"><?php echo $tab_inter_island_rural; ?></a>
					</div>	
					<div id="domestic-across-town-urban">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_zonal_across_town_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_across_town_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_across_town_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_across_town_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_across_town_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_across_town_tickets_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town)) { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>	
					<div id="domestic-across-town-rural">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>					
							<tr>
								<td><?php echo $text_pp_tracked_zonal_across_town_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_across_town_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_across_town_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_across_town_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_across_town_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_across_town_tickets_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_across_town_r)) { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_across_town_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>
					<div id="domestic-within-island-urban">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_zonal_within_island_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_within_island_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_within_island_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_within_island_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_within_island_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_within_island_tickets_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island)) { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>	
					<div id="domestic-within-island-rural">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>					
							<tr>
								<td><?php echo $text_pp_tracked_zonal_within_island_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_within_island_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_within_island_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_within_island_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_within_island_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_within_island_tickets_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_within_island_r)) { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_within_island_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>
					<div id="domestic-inter-island-urban">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_zonal_nationwide_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_nationwide_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_nationwide_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_nationwide_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_nationwide_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_nationwide_tickets_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>	
					<div id="domestic-inter-island-rural">
						<table class="form">
							<tr>
								<td><?php echo $text_pp_untracked_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_tickets as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
							<tr>
								<td><?php echo $text_pp_tracked_3kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_3kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_5kg_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_5kg_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>					
							<tr>
								<td><?php echo $text_pp_tracked_zonal_nationwide_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_zonal_nationwide_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_flat_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_untracked_fast_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_untracked_fast_bubble_bags as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_pp_tracked_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_pp_tracked_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_zonal_nationwide_tickets; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_nationwide_tickets_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>						
							<tr>
								<td><?php echo $text_courier_zonal_nationwide_tickets_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_zonal_nationwide_tickets_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>		
							<tr>
								<td><?php echo $text_courier_flat_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_bubble_bags; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_bubble_bags_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
							<tr>
								<td><?php echo $text_courier_flat_bags_signature; ?></td>
								<td><div class="scrollbox">
										<?php $class = 'odd'; ?>
										<?php foreach ($services_courier_flat_bags_signature_r as $service) { ?>
										<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
										<div class="<?php echo $class; ?>">
											<?php if (in_array($service['value'], $nzpost_service_nationwide_r)) { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" checked="checked" />
											<?php echo $service['text']; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_service_nationwide_r[]" value="<?php echo $service['value']; ?>" />
											<?php echo $service['text']; ?>
											<?php } ?>
										</div>
										<?php } ?>
									</div>
									<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a></td>
							</tr>
						</table>
					</div>
				</div>
				<div id="tab-international">
					<table class="form">						
						<tr>
							<td><?php echo $entry_international_options; ?></td>
							<td id="international-options">
								<div id="International">
									<div class="scrollbox">
										<div class="even">
											<?php if ($nzpost_international_tracking) { ?>
											<input type="checkbox" name="nzpost_international_tracking" value="1" checked="checked" />
											<?php echo $text_nzpost_international_tracking; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_international_tracking" value="1" />
											<?php echo $text_nzpost_international_tracking; ?>
											<?php } ?>
										</div>
										<div class="odd">
											<?php if ($nzpost_international_signature) { ?>
											<input type="checkbox" name="nzpost_international_signature" value="1" checked="checked" />
											<?php echo $text_nzpost_international_signature; ?>
											<?php } else { ?>
											<input type="checkbox" name="nzpost_international_signature" value="1" />
											<?php echo $text_nzpost_international_signature; ?>
											<?php } ?>
										</div>
									</div>
								</div>
								<a onclick="$(this).parent().find(':checkbox').attr('checked', true);"><?php echo $text_select_all; ?></a> / <a onclick="$(this).parent().find(':checkbox').attr('checked', false);"><?php echo $text_unselect_all; ?></a>
							</td>
						</tr>
					</table>
				</div>
      </form>
    </div>
  </div>
</div>
<script type="text/javascript"><!--
$('#tabs a').tabs(); 
$('#languages a').tabs(); 
$('#domestic a').tabs();
//--></script> 
<?php echo $footer; ?>